package ad.android.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "tbl_adhost_bank_account", catalog = "adproject")
public class AdHostBankAccount implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -817557241826287874L;
	/**
	 * 主键
	 */
	private Long id;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 用户邮箱
	 */
	private String adHostEmail;
	/**
	 * 姓名
	 */
	private String realName;
	/**
	 * 所在区域
	 */
	private String areaName;
	/**
	 * 身份证号码
	 */
	private String certificate;
	/**
	 * 开户银行名称
	 */
	private String bankName;
	/**
	 * 开户支行名称
	 */
	private String detailBankName;
	/**
	 * 银行账号
	 */
	private String accountId;
	/**
	 * 银行用户姓名
	 */
	private String accountName;
	
	/**
	 * 创建日期
	 */
	private Date createTime;
	/**
	 * 修改日期
	 */
	private Date updateTime;
	
	@Column(name = "DEV_ACCOUNT_ID", length = 200)
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	@Column(name = "DEV_ACCOUNT_NAME", length = 200)
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	@Column(name = "DEV_AREA_NAME", length = 200)
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	@Column(name = "DEV_BANK_NAME", length = 200)
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	@Column(name = "DEV_CERTIFICATE", length = 200)
	public String getCertificate() {
		return certificate;
	}
	public void setCertificate(String certificate) {
		this.certificate = certificate;
	}
	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "DETAIL_BANK_NAME",length=255)
	public String getDetailBankName() {
		return detailBankName;
	}
	public void setDetailBankName(String detailBankName) {
		this.detailBankName = detailBankName;
	}
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "ID", unique = true, nullable = true) 
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "DEV_REAL_NAME",length=255)
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	@Column(name = "UPDATE_TIME")
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	@Column(name = "USER_ID")
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	@Column(name = "ADHOST_EMAIL")
	public String getAdHostEmail() {
		return adHostEmail;
	}
	public void setAdHostEmail(String adHostEmail) {
		this.adHostEmail = adHostEmail;
	}
	
	
}
